#ifndef VXZOOMSLIDER_H
#define VXZOOMSLIDER_H

#include <QtGui>
#include "../Controllers/vxzoomcontroller.h"

class VxZoomSlider : public QFrame
{
	Q_OBJECT

public:
	VxZoomSlider(VxZoomController * zoomController, QWidget * parent=0);

private:
	qreal _scale;
	VxZoomController * _zoomController;
	QSlider * _slider;
	bool _scaled;


private slots:
	void _movement(int mx, int my);
	void _sliderMoved(int scale);
	void _valueChanged(int scale);
	void _setValue(int scale);
	void _zoomInClicked();
	void _zoomOutClicked();
};



#endif // VXZOOMSLIDER_H
